package com.zmzncs.lmtc.module.park.dao;

import com.zmzncs.lmtc.common.pojo.bolian.QuoteField;
import com.zmzncs.lmtc.module.park.pojo.bolian_pull.BolianPull;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 停车场-泊链-拉取 Mapper 接口
 * </p>
 *
 * @author 高博文
 * @since 2021-03-15
 */
@Repository
public interface BolianPullDao extends BaseMapper<BolianPull> {

    /**查询未处理的更新停车场信息*/
    List<BolianPull> getPendingBolianPark();

    /**根据泊链com_id更新状态*/
    void updateStatus(@Param("bolianComId") String bolianComId,@Param("status") Integer status);

    /**根据泊链ComId修改信息*/
    void updateByBolianComId(@Param("pull") BolianPull pull);
}
